package com.offcn.entity;

public class Course_User {
    private  int id ;
    private  int cid;
    private  int uid;
    private  User user;
    private Course course;

    public Course_User() {
    }

    public Course_User(int id, int cid, int uid, User user, Course course) {
        this.id = id;
        this.cid = cid;
        this.uid = uid;
        this.user = user;
        this.course = course;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Course getCourse() {
        return course;
    }

    public void setCourse(Course course) {
        this.course = course;
    }

    @Override
    public String toString() {
        return "Course_User{" +
                "id=" + id +
                ", cid=" + cid +
                ", uid=" + uid +
                ", user=" + user +
                ", course=" + course +
                '}';
    }
}
